package com.aiyige.model;

import android.text.TextUtils;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by xiachao on 2017/12/8.
 */

public class GoodsEntity implements MultiItemEntity{
    long goodsId;
    int goodsType;
    long watchCount;

    long sellCount;

    String title;
    String cover;
    String router;

    public long getSellCount() {
        return sellCount;
    }

    public void setSellCount(long sellCount) {
        this.sellCount = sellCount;
    }

    public long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(long goodsId) {
        this.goodsId = goodsId;
    }

    public int getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(int goodsType) {
        this.goodsType = goodsType;
    }

    public long getWatchCount() {
        return watchCount;
    }

    public void setWatchCount(long watchCount) {
        this.watchCount = watchCount;
    }

    public String getTitle() {
        return TextUtils.isEmpty(title)?"":title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCover() {
        return TextUtils.isEmpty(cover)?"":cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getRouter() {
        return router;
    }

    public void setRouter(String router) {
        this.router = router;
    }


    @Override
    public int getItemType() {
        return 0;
    }
}
